package com.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.ScoreDao;
import com.pojo.Score;
import com.service.ScoreService;

@Service("scoreService")
public class ScoreServiceImpl implements ScoreService{
	
	@Resource
	private ScoreDao scoreDao;
	public List<Score> getScoreByStudentNumber(String studentNumber) {
		List<Score> scores =scoreDao.getScoreByStudentNumber(studentNumber);
		return scores;
	}
	
	
	@Override
	public List<Score> getScoreByStudentNumber2(String studentNumber) {
		List<Score> scores =scoreDao.getScoreByStudentNumber2(studentNumber);
		return scores;
	}
	

}
